<div class="login-wrap">
    <div class="block">
        <?php
        if(!empty($e))
        {
            ?>
        <div class="alert alert-error">
            <button class="close" data-dismiss="alert">&times;</button>
            <?php
            foreach($e as $i)
            {
                echo "<p>{$i}</p>";
            }
            ?>
        </div>
        <?php
        }
        ?>
    <form action="?com=user&action=login" method="post" class="form-horizontal">
		<div class="control-group">
			<label class="control-label" for="uname"><?php echo lang('LBL_USERNAME') ?></label>
                        <div class="controls">
                            <input type="text" id="uname" name="login[username]" placeholder="<?php echo lang('PHD_USERNAME'); ?>" />                            
                        </div>
                </div>
		<div class="control-group">
			<label class="control-label" for="pword"><?php echo lang('LBL_PASSWORD') ?></label>
			<div class="controls">
                            <input type="password" id="pword" name="login[password]" placeholder="<?php echo lang('PHD_PASSWORD'); ?>" />
                        </div>
                </div>
		<div class="control-group">                  
                    <div class="controls">
                        <input style="float: left; margin-top: 4px; margin-right: 4px" type="checkbox" name="login[remember]" id="remember" />
                        <label style="float: left" for="remember">
                            <?php echo lang('LBL_REMEMBER_LOGIN') ?>
                        </label>
                        <input style="float: right" type="submit" name='submit' class="btn btn-primary" value="<?php echo lang('LBL_LOGIN') ?>" />
                    </div>
                    <div  class="clearfix"></div>
                        <a style="display: block; margin-left: 120px" style="vertical-align: -5px" href="?com=user&action=register">Đăng kí tài khoản mới!</a>                  
                    
                </div>
        </form>
    </div>
</div>